package org.gry.dy20180723;

public class XiaoJiuJiu {

	public static void main(String[] args) {

		outer: for (int i = 101; i < 150; i++) {
            for (int j = 2; j < i / 2; j++) {
                if (i % j == 0){
                    continue outer;
                }
            }
            System.out.print(i + "  ");
        }
		/*int i = 1;
		int q = 0;
		while (i <= 1000) {
			if (i % 5 == 0) {
				System.out.print(i + "\t");
				q++;
				if(q == 5) {
					System.out.println();
					q=0;
				}
			}
			i++;
		}*/
		/*
		 * int i = 1; int a = 0; int b = 0; while(i <=100) { if(i%2 != 0) {
		 * System.out.println(i+"是奇数"); a += i; }else{ System.out.println(i+"是偶数"); b +=
		 * i; }; i++; } System.out.println(a); System.out.println(b);
		 * System.out.println(a+b);
		 */
		/*
		 * for (int i = 1; i <= 5; i++) { for (int j = 1; j <= 5; j++) {
		 * System.out.print(j+"\t"); } System.out.println(); }
		 */
		/*
		 * for (int i = 1; i <= 9; i++) { for (int j = 1;j<=i;j++) {
		 * System.out.print(j+"*"+i+"="+j*i+"\t"); } System.out.println(); }
		 */

	}
}
